package net.sycu.guomy.ems.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import net.sycu.guomy.ems.common.MyConst;

public class MessageSearcher implements Serializable {
	private int messageId = 0;
	private String title = "";
	private String content = "";
	private Timestamp publishDateTimeBegin = MyConst.TIMESTAMPMIN;
	private Timestamp publishDateTimeEnd = MyConst.TIMESTAMPMAX;
	private String publishIp = "";
	private int publisherId = 0;
	private int departmentId = 0;
	public int getMessageId() {
		return messageId;
	}
	public void setMessageId(int messageId) {
		this.messageId = messageId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Timestamp getPublishDateTimeBegin() {
		return publishDateTimeBegin;
	}
	public void setPublishDateTimeBegin(Timestamp publishDateTimeBegin) {
		this.publishDateTimeBegin = publishDateTimeBegin;
	}
	public Timestamp getPublishDateTimeEnd() {
		return publishDateTimeEnd;
	}
	public void setPublishDateTimeEnd(Timestamp publishDateTimeEnd) {
		this.publishDateTimeEnd = publishDateTimeEnd;
	}
	public String getPublishIp() {
		return publishIp;
	}
	public void setPublishIp(String publishIp) {
		this.publishIp = publishIp;
	}
	public int getPublisherId() {
		return publisherId;
	}
	public void setPublisherId(int publisherId) {
		this.publisherId = publisherId;
	}
	public int getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(int departmentId) {
		this.departmentId = departmentId;
	}
	
	private LoginSearcher publisherSearcher = null;
	private DepartmentSearcher departmentSearcher = null;
	public LoginSearcher getPublisherSearcher() {
		return publisherSearcher;
	}
	public void setPublisherSearcher(LoginSearcher publisherSearcher) {
		this.publisherSearcher = publisherSearcher;
	}
	public DepartmentSearcher getDepartmentSearcher() {
		return departmentSearcher;
	}
	public void setDepartmentSearcher(DepartmentSearcher departmentSearcher) {
		this.departmentSearcher = departmentSearcher;
	}
}
